package MybatisTest;

import java.io.Serializable;
import java.util.List;
import java.util.Set;

public class CompanyBean implements Serializable {
	
	private int Id;
	private String CompanyName;
	private CarsBean carsBean;
	private List<personBean> personBean;
	public int getId() {
		return Id;
	}
	public void setId(int id) {
		Id = id;
	}
	public String getCompanyName() {
		return CompanyName;
	}
	public void setCompanyName(String companyName) {
		CompanyName = companyName;
	}
	public CarsBean getCarsBean() {
		return carsBean;
	}
	public void setCarsBean(CarsBean carsBean) {
		this.carsBean = carsBean;
	}
	public List<personBean> getPersonBean() {
		return personBean;
	}
	public void setPersonBean(List<personBean> personBean) {
		this.personBean = personBean;
	}
	@Override
	public String toString() {
		return "CompanyBean [Id=" + Id + ", CompanyName=" + CompanyName + ", carsBean=" + carsBean + ", personBean="
				+ personBean + "]";
	}
	
	
	
	
	
}
